/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package com.Shop.dao;

import com.Shop.beans.Chack;

/**
 *
 * @author cjh
 */

public class ChackDao extends BaseDao {
  public Chack chackMsg(String filename){
        String hql="from chack where filename=?";
        return (Chack)this.getSession().createQuery(hql).setParameter("filename",filename).uniqueResult();
    }

}
